﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MachineVision.Service.Dto
{
    public class MenuData:IEntity
    {
        public string Name { get; set; }
        public string Icon { get; set; }
        public string PageUrl { get; set; }
        public string Description { get; set; }
        public bool IsMain { get; set; }
        /// <summary>
        /// 上级id
        /// </summary>
        public int? SuperId { get; set; }

        //[ForeignKey("SuperId")]
        //public MenuData SuperMenu { get; set; }
        public IEnumerable<MenuData> Pages { get; set; }
    }
}
